package com.atguigu.daijia.common.service;


import org.springframework.stereotype.Service;

@Service
public class RabbitService {

//    @Resource
//    RabbitTemplate rabbitTemplate;
//
//    //发送消息
//    public boolean sendMessage(String exchange,String routingKey,Object message){
//        rabbitTemplate.convertAndSend(exchange,routingKey,message);
//        return true;
//    }


}
